package com.gopay.common.cps.dao.cbrmb;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.common.domain.cbrmb.CbRmbBlacklist;
import com.gopay.common.exception.GopayException;

/**
 * @ClassName CbRmbBlackListDAO 
 * @Description 交易校验黑名单 
 * @author zoubin
 * @date 2016年8月17日
 * @Copyright ©www.gopay.com.cn Inc.All rights reserved.
 */
public interface CbRmbBlackListDAO extends BaseDAO<CbRmbBlacklist, Long> {
    
    /**
     * @Description 个人是否进入黑名单 
     * @param personalName
     * @param idCardNo
     * @return 
     * @author zoubin QQ:208697475
     * @throws GopayException TODO
     */
    public CbRmbBlacklist getByNameAndIdCard(String personalName,String idCardNo) throws GopayException;

    /**
     * @Description 查看企业是否进入黑名单 
     * @param corpName
     * @return 
     * @author zoubin QQ:208697475
     * @throws GopayException TODO
     */
    public CbRmbBlacklist getByCorpName(String corpName) throws GopayException;
    
    /**
     * @Description 银行卡号是否进入黑名单 
     * @param bankCardNo
     * @return 
     * @author zoubin QQ:208697475
     * @throws GopayException TODO
     */
    public CbRmbBlacklist getByBankCard(String bankCardNo) throws GopayException;
}
